//
//  BeautyRecommModel.swift
//  月升
//
//  Created by 拉利法 on 2024/7/10.
//

import UIKit

class BeautyRecommModel: NSObject {

}


/// 五官
struct QIFacialFeaturesModel: Convertible {
    var title = ""
    /// 形状
    var value = ""
    /// 类型
    var type = ""
    /// 颜色名称
    var colorName = ""
    /// 背景色
    var bgColor = UIColor.white
    /// 颜色rgb字符串
    var rgbColorStr = "1,1,1,-1"
    /// 选择类型的index
    var selectTypeIndex = ""
}


/// 皮肤分析结果
struct QISkinAnalysisResultsModel: Convertible {
    /// 分析的图片
    var Cos_Save_Path_Face_Skin = [String]()
    var makeup = [String]()
    /// 粉刺判定
    var final_acne_severity_dict = [String: Any]()
    /// 毛孔判定
    var final_pore_severity_dict = [String: Any]()
    /// 皱纹判定
    var final_wrinkle_severity_dict = [String: Any]()
    /// 产品建议
    var product_suggestion_dict = [[String: Any]]()
    /// 皱纹报告
    var wrinkles_report = ""
    /// 粉刺报告
    var acne_report = ""
    /// 毛孔报告
    var pores_report = ""
    /// 毛孔位置
    var final_pore_severity_dict_chi = ""
    /// 粉刺位置
    var final_acne_severity_dict_chi = ""
    /// 皱纹位置
    var final_wrinkle_severity_dict_chi = ""
    
    /// 粉刺视频1
    var acne_video = ""
    /// 毛孔视频
    var pore_video = ""
    /// 皱纹视频
    var wrinkle_video = ""
    /// 粉刺产品
    var acne = [QIProductInfoModel]()
    /// 毛孔产品
    var pores = [QIProductInfoModel]()
    /// 皱纹产品
    var wrinkles = [QIProductInfoModel]()
    
}

struct QIProductInfoModel: Convertible {
    var bad = ""
    var name = ""
    var image_name = ""
    var introduction = ""
}


/// 五官检测结果
struct QIFiveSensesResultModel: Convertible {
    var top5_video_info_detail_dict = [String: Any]()
    var facial_data_code_string = ""
    var facial_data_chinese_dict = QIFaceModel()
    var top5_makeup_type_chinese_name = [[String]]()
    var statue = ""
    var facial_data_code_dict = [String: Any]()
    var top5_video_ID_list = [String]()
    
}


/// 五官模型
struct QIFaceModel: Convertible {
    /// 左眉
    var left_eyebrow_name = ""
    /// 右眉
    var right_eyebrow_name = ""
    /// 左眼
    var left_eye_name = ""
    /// 右眼
    var right_eye_name = ""
    /// 鼻子
    var nose_name = ""
    /// 嘴唇
    var mouth_name = ""
    /// 脸型
    var face_name = ""
    
}



/// 美妆推荐
struct QIBeautyRecommenListModel: Convertible {
    var title = ""
//    var vStr = ""
    var vModel = QIBeautyRecommenChildListModel()
    
    var makeup_type = [String]()
    var video_code = ""
    var video_link = ""
    var isCollect = false
    /// 收藏ID
    var id = ""
}

struct QIBeautyRecommenChildListModel: Convertible {
    /// 类型
    var style = ""
    /// 时间
    var duration = ""
    /// vCode
    var video_code = ""
    /// 妆容类型
    var application = ""
    /// 难易度
    var difficulty = ""
    var id = ""
}



/// 化妆视频
struct QIBeautyMakeupVideoListModel: Convertible {
    var product_name = ""
    var color_code = ""
    var product_type = ""
    var appearance_time = ""
    var brand = ""
    var type = ""
}



/// 口红/腮红颜色选择
struct QIMakeupColorListModel: Convertible {
    var shade = ""
    var brand = ""
    var color_rgb = [[CGFloat]]()
    
}
